Create Policy
Creates a Replenishment Policy in the warehouse specified by its id path
parameter.
Policy configuration is available to staff users who have
access to the Warehouse. Client bearer tokens receive 404.
A Policy created without is_active is inactive: it is not evaluated and no
Replenishment rebuild is requested. Creating an active Policy invalidates the
warehouse’s published Replenishment results and requests a rebuild, so the
report catches up asynchronously.
Authorizations
Query Parameters
Specify additional fields of the ReplenishmentPolicy object to be included in the response.
basic, all, name, is_active, sort_order, merchant_ids, merchants, product_profile_ids, product_profiles, product_profile_match_mode, handling_class_ids, handling_classes, subject_readable, location_profile, demand_period_days, demand_context_mode, demand_contexts, trigger_doi_days, target_doi_days, emergency_floor_qty, doi_basis, move_in_level, slot_type_doi_overrides, qualification_reason, flagged_sku_count, skipped_sku_count, slotting_forbidden_count, results_rebuild_status, results_refresh_pending, created_at, updated_at Specify direct fields of selected Merchant objects to include under included.Merchant. Add merchants to the root fields parameter to return the relationship. type and id are always returned.
Specify direct fields of an included Merchant object.
code, name, status, created_at, updated_at Specify fields of selected ProductProfile objects to include under included.ProductProfile. Add product_profiles to the root fields parameter to return the relationship. type and id are always returned.
Specify fields of an included ProductProfile object.
basic, all, name, code, conditions, conditions_readable, matched_count, classification, created_at, updated_at Specify direct fields of selected HandlingClass objects to include under included.HandlingClass. Add handling_classes to the root fields parameter to return the relationship. type and id are always returned.
Specify direct fields of an included HandlingClass object.
name, code, sort_order, conditions, conditions_readable, matched_count, classification, created_at, updated_at Specify direct fields of the LocationProfile selected by each Policy.
Location Tags and Slot Types remain available from the Profile's own endpoint.
Specify direct fields of the included LocationProfile object.
name, description, status, member_count, match, match_readable, active_revision, pending_revision, used_by, created_at, updated_at Body
The configuration of a new Replenishment Policy. The warehouse comes from the
path, and every derived or index-owned property of ReplenishmentPolicy is
rejected if present.
The demand contexts an include Policy counts. transfer is internal relocation and
replenishment activity rather than customer consumption, so including it can feed
replenishment moves back into the demand that sizes them. other is reserved for later demand
categories and is not emitted by classifier v1, so a selection of it alone measures no demand.
7customer_fulfillment, bulk_fulfillment, kitting, transfer, external_freight, other, unknown The Product Unit Level a task moves in when the Product's override stores
no move size: the one product of the SKU's quantity family declared at
this level, converted to the SKU's units. It moves whole units when none
or several are usable there, the SKU itself is declared at the level, or
the conversion is not a quantity the SKU can hold, and plans nothing
while the family's quantity BOMs contradict each other and the SKU, or
another enabled product of the family, is declared at the level. whole_unit moves whole units of the Product
regardless of the declared levels.
whole_unit, inner_pack, case, pallet Response
The Replenishment Policy was created successfully.
Lists of referenced objects included by specifying optional fields. See the selecting fields page for more information.